package F02;

import java.io.*;

public class Test6Copy {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("D:\\01file\\1.txt");
        FileOutputStream fos=new FileOutputStream("11.txt");

        int by;
        while((by=fis.read())!=-1)
        {
           fos.write(by);
        }
    }
}
